package org.fxml.utils {
	
	import flash.display.DisplayObject;

	/**
	 * @author jordandoczy
	 * @private
	 */
	public class FlashVarUtil {
		
		public static function getValue(root:DisplayObject, param:String):String{
			return root.loaderInfo.parameters[param] || root.parent.loaderInfo.parameters[param] || null;
		}
		
	}
}
